
    <div class="ip-segment-wrapper">
      <div class="ip-segment-btn" [ngClass]="{ selected: multipleTab === 0 }" (click)="changeMultiple(0)">
        切换到单选
      </div>
      <div class="ip-segment-btn" [ngClass]="{ selected: multipleTab === 1 }" (click)="changeMultiple(1)">
        切换到多选
      </div>
    </div>
    <ImagePicker
      [files]="files"
      [multiple]="multipleTab === 1"
      [selectable]="files.length < 5"
      (onChange)="fileChange($event)"
      (onImageClick)="imageClick($event)"
    ></ImagePicker>
  